# K是开尔文温度,C是摄氏度
# C = K - 273. 15
# 输入K,打印"__K等于__C"(保留两位小数)

k = int(input())
c=k-273.15
print(f'{k:0.2f}K等于{c:0.2f}C')